package com.gxy.learn.backup.shiroauth.web;

import com.gxy.learn.backup.shiroauth.common.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Description权限测试
 * <p>
 * <p>
 * author: Gao xueyong
 * Create at: 2022/1/25 下午14:18
 */
@Slf4j
@RequestMapping("/business")
@RestController
public class BusinessController {



    @GetMapping(value = "/info")
    public Result login() {
        return Result.success("验证成功！");
    }

}
